//
//  DrawingBoardView.h
//  TestPrj
//
//  Created by 朱铅峰 on 2019/11/1.
//  Copyright © 2019 Xing. All rights reserved.
//

#import <UIKit/UIKit.h>
@class DrawingBezierPath;

@interface DrawingBoardView : UIView

@property(nonatomic,strong) UIColor *lineColor;
@property(nonatomic,assign) CGFloat lineWidth;
@property(nonatomic,copy) void(^drawPathChangeAction)(DrawingBezierPath *path);

//清除
- (void)clear;

//回退
- (void)undo;

//橡皮擦
- (void)eraser;

//获取截图
- (UIImage *)capture;

@end


#pragma mark -

@interface DrawingBezierPath : UIBezierPath

@property(nonatomic,strong) UIColor *lineColor;

@end
